<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    
    
    <title>曝光维权-幸福兄弟-幸福兄弟拼购网</title>
	<meta name="description" content="幸福兄弟盐城拼购第一网www.9898sj.com是幸福兄弟营销策划有限公司旗下品牌项目。幸福兄弟盐城拼购第一网是专门针对建材、家具、电器进行同城拼购的一个网站。将全城千万消费者聚拢在一起，用量来获得最低的购买价格。网站聚集了全城1000个知名优质品牌，消费者足不出户就能完成对盐城建材、家具、电器市场进行最深刻的了解，通过拼购网购买是免费的，消费者不需要花一分钱就能实现最省钱、省心、舒心的购买。幸福兄弟盐城拼购第一网将帮助1000个优质品牌企业最大程度的宣传全城，帮助品牌企业好的口碑得到良好的传播，从而实现最好的销售。希望幸福兄弟盐城拼购第一网能为您的幸福生活、您的成功带来帮助！幸福生活，从拼购开始。公司地址，盐城市南城河路9号（迎宾桥北桥头东侧）；联系电话：0515-88175689  88175528"/>
	<meta name="keywords" content="幸福兄弟，幸福兄弟盐城拼购第一网，幸福兄弟拼购，幸福兄弟拼购网，盐城拼购，盐城拼购，盐城建材拼购，盐城家具拼购，盐城电器拼购，建材拼购，家具拼购，电器拼购"/>

    
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
	<meta http-equiv="description" content="This is my page"/>
<link href="<%=basePath %>resource/css/css.css" rel="stylesheet" type="text/css" />
<script src="<%=basePath%>resource/js/jquery-1.4.2.js"></script>
<style type="text/css">
#gongao {
	height: auto;
	width: 978px;
	border: 1px solid #afe5fe;
	padding: 10px;
	color: #663300;
	line-height: 18px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#ccc {
	height: auto;
	width: 1000px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	overflow: hidden;
	padding-top: 20px;
}
.w-right-2 {
	float: left;
	height: auto;
	width: 480px;
	border: 1px solid #9fc9df;
	margin-bottom: 12px;
}
.w-r-px1 {
	float: left;
	height: 32px;
	width: 480px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #9fc9df;
	background-color: #e6f8fd;
}
.w-r-px3 {
	float: right;
	height: auto;
	width: 470px;
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
}
.w-px320px-1 {
	float: left;
	height: auto;
	width: 470px;
	margin-bottom: 12px;
}
.w-r-2 {
	float: left;
	line-height: 27px;
	height: 28px;
	width: 460px;
	padding-right: 5px;
	padding-left: 5px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #9FC9DF;
}
.wwwwww {
	float: right;
	height: auto;
	width: auto;
}
</style>
<script type="text/javascript">
  var initFlag = false;
function bulidPagnation(totalcount,limit,page,id,renderId,nowId,endId,type){
	var previewPageStr = '<span class="disabled">&lt;</span>';
	var nextPageStr = '<span><a href="#?page=2">&gt;</a></span>';
	var currentPageStr = '<span class="current">1</span>';
	var showPageStr = '<a href="#?page=2">2</a>';
	var totalPages = (totalcount + limit - 1) / limit;
	var startPage = nowId;
	var endPage = startPage+4;
	if(page>=4)
		if((page - nowId)>=3){
			startPage = page - 2;
			endPage = startPage + 4;
		} 
	if(nowId != 1)
		if((endId-page)>=3){
			startPage = page - 2;
			endPage = startPage + 4;
		}
	if(endPage > totalPages){
		endPage = totalPages;
		nextPageStr = '<span class="disabled">&gt;</span>';
	}else{
		nextPageStr = '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(page+1)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+','+type+')">&gt;</a>';
	}
	if(startPage > 1){
		previewPageStr = '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(page-1)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+','+type+')">&lt</a>';
	}
	var str = previewPageStr;
	for(var i = startPage;i <= endPage; i++){
		if(i == page)
			str += '<span class="current">'+i+'</span>';
		else
			str += '<a href="javascript:bulidPagnation('+totalcount+','+limit+','+(i)+',\''+id+'\',\''+renderId+'\','+startPage+','+endPage+','+type+')">'+i+'</a>';
	}
	str += nextPageStr;
	$('#'+renderId).html(str);
	
	if(!initFlag)
		$.get('<%=basePath%>pingjia/findByFenyeMesage.shtml?pageNo='+page+'&limit='+limit+'&type='+type,function(mes){
			var json = eval('('+mes+')');
			var str = '';
			for(var i = 0; i < json.length; i++){
				str+='<div class="w-r-2"><nobr><a href="#" onclick="onView('+json[i]['id']+')">['+json[i]['brandName']+'] '+json[i]['title']+'</a></nobr></div>'
			}
		
			$('#w-px320px_'+id).html(str);
			
		})
}
function onView(id){
	window.open('<%=basePath %>pingjia/findByMess.shtml?id='+id);
}
</script>
</head>

<body id="top">
<jsp:include page="../../eva_img.jsp"></jsp:include>
  <jsp:include page="../top.jsp"></jsp:include>
  <div id="gongao"><span style="color:#993300">公告栏：</span>${announcement.content}</div>
<div id="ccc">
<div class="w-right-2">
        <div class="w-r-px1">
        <h1>好评</h1>
        <div class="yahoo"  id="zx_1">
           <script>bulidPagnation(parseInt('${haoCount}'),20,1,1,'zx_1',1,5,1)</script>
       </div>
        </div>
    <div class="w-r-px3">
  <div class="w-px320px-1" id="w-px320px_1">
          
           
          
      </div>
        </div>
  </div>
  <div class="wwwwww">
  <div class="w-right-2">
        <div class="w-r-px1">
        <h1>差评</h1>
        <div class="yahoo" id="zx_2">
            <script>bulidPagnation(parseInt('${chaCount}'),20,1,2,'zx_2',1,5,2)</script>
         </div>
        </div>
    <div class="w-r-px3">
      <div class="w-px320px-1" id="w-px320px_2">
             
      </div>
        </div>

      </div>
      </div>
</div>
<div id="footer"><a href="../statement/statement_toStatement.shtml?flag=1" target="_top">关于我们</a> |  <a  href="../statement/statement_toStatement.shtml?flag=2" target="_top">联系方式 </a>| <a  href="../statement/statement_toStatement.shtml?flag=3" target="_top">意见反馈</a> |   <a  href="../statement/statement_toStatement.shtml?flag=4" target="_top" >法律声明</a><br />

    幸福兄弟版权所有 2012-2013　ICP证苏B2-20050209.  
</div>
</body>
    <script>
		initFlag = false;
	</script>
</html>
